﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QD.Web.Upload
{
    public class UploadFolderCfg : FolderCfg
    {
        public string GetFileName(string fn)
        {
            if (!string.IsNullOrEmpty(this.Prefix))
            {
                fn = this.Prefix + fn;
            }
            if (!string.IsNullOrEmpty(this.Suffix))
            {
                fn = fn + this.Suffix;
            }
            return fn;
        }
        public bool AllowUpload { get; set; }

        public string Prefix { get; set; }

        public string Suffix { get; set; }
 


 

    }
}
